<include file="Public/min-header"/>

<!--以下是在线编辑器 代码 -->
<script type="text/javascript">
    /*
	 * 在线编辑器相 关配置 js 
	 *  参考 地址 http://fex.baidu.com/ueditor/ 
	 */
    window.UEDITOR_Admin_URL = "__ROOT__/Public/plugins/Ueditor/";
    var URL_upload = "{$myurl}{$URL_upload}";
    var URL_fileUp = "{$myurl}{$URL_fileUp}";
    var URL_scrawlUp = "{$myurl}{$URL_scrawlUp}";
    var URL_getRemoteImage = "{$myurl}{$URL_getRemoteImage}";
    var URL_imageManager = "{$myurl}{$URL_imageManager}";
    var URL_imageUp = "{$myurl}{$URL_imageUp}";
    var URL_getMovie = "{$myurl}{$URL_getMovie}";
    var URL_home = "{$myurl}{$URL_home}";
    var URL_Config = "{$myurl}/Admin/Ueditor/getConfig";
</script>
<script type="text/javascript" charset="utf-8" src="__ROOT__/Public/plugins/Ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__ROOT__/Public/plugins/Ueditor/ueditor.all.js"> </script>
 <script type="text/javascript" charset="utf-8" src="__ROOT__/Public/plugins/Ueditor/lang/zh-cn/zh-cn.js"></script>
<link rel="stylesheet" href="/Public/plugins/getpoint/jquery-ui.min.css">
<style type="text/css">
* {
    margin: 0px;
    padding: 0px;
}

#main {
    height: 553px;
    width: 912px;
    margin: 0px auto;
    border: 1px solid #5688CB;
    border-top: 0px;
}

#tooles {
    height: 23px;
    background: #5688CB;
    position: relative;
    z-index: 100;
    color:white;
}

#bside_left {
    width: 260px;
    height: 510px;
    padding: 10px 0px 10px 10px;
    float: left;
    overflow: auto;
}

#cur_city, #no_value {
    height: 20px;
    position: absolute;
    top: 3px;
    left: 10px;
}

#cur_city .change_city {
    margin-left: 5px;
    cursor: pointer;
}


#level {
    margin-left: 20px;
}


.logo_img {
    width: 172px;
    height: 23px;
}

.search {
    width: 280px;
    height: 53px;
    padding-left: 10px;
    float: left;
    margin-left: 15px;
    margin-right: 30px;
}

.search_t {
    width: 200px;
    height: 18px;

    padding: 3px;
    margin-top: 13px;
    line-height: 20px;
}

.search_c {
    width: 220px;
    height: 40px;
    float: left;
}

.btn_p, .btn_p_active {
    width: 49px;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    float: left;
    background: url(/Public/plugins/getpoint/img/btn.png);
    margin-top: 14px;
    text-align: center;
    cursor: pointer;
}

.btn_p_active {
    background: url(/Public/plugins/getpoint/img/btn.png) -49px 0px;
}

.poi {
    width: 570px;
    height: 41;
    padding-top: 12px;
    float: left;
    position: relative;
}

.poi_note {
    line-height: 26px;
    float: left;
}

#poi_cur {
    width: 140px;
    height: 22px;
    margin-right: 10px;
    margin-top: 3px;
    line-height: 26px;

    float: left;
    text-align: center;
}

#addr_cur {
    width: 260px;
    height: 22px;
    margin-right: 5px;
    margin-top: 3px;
    line-height: 26px;

    float: left;
    text-align: center;
}

.btn_copy {
    width: 49px;
    height: 24px;
    background: url(/Public/plugins/getpoint/img/btn_cpoy.png) 0px 0px;
    float: left;
}

.already {
    width: 52px;
    line-height: 26px;
    padding-left: 5px;
    float: left;
    color: red;
    display: none;
}

.info_list {
    margin-bottom: 5px;
    cleat: both;
    cursor: pointer;
}

#txt_pannel {
    height: 500px;
}

#city_point {
    width: 356px;
    height: 433px;
    padding: 10px;
    border: 2px solid #D6D6D6;
    position: absolute;
    left: 44px;
    top: 20px;
    z-index: 999;
    background: #fff;
    overflow: auto;
    color: black;
}

#city_point .city_class {
    font-size: 12px;
    background: #fff;
}

#city_point .city_container {
    margin-top: 10px;
    margin-bottom: 10px;
    background: #fff;
}

#city_point .city_container_left {
    width: 48px;
    float: left;
}

#city_point .city_container_right {
    width: 289px;
    float: left;
}

#city_point .close {
    width: 20px;
    height: 20px;
    display: inline-block;
    float: right;
    font-size: 20px;
    font-weight: normal;
    cursor: pointer;
}

#city_point .city_name {
    line-height: 20px;
    margin-left: 5px;
    color: #2F82C4;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
}

#curCity {
    margin-right: 5px;
}

.hide {
    display: none;
}

#bside_rgiht {
    width: 631px;
    height: 530px;
    margin-left: 10px;
    border-left: 1px solid #5688CB;
    float: left;
    font-size: 12px;
}

#container {
    width: 621px;
    height: 520px;
    border: 5px solid #fff;
}

#no_value{
    color:red;
    position: relative;
    width:200px;
}
</style>
<div class="wrapper">
    <include file="Public/breadcrumb"/>
    <section class="content" style="padding:0px 15px;">
        <!-- Main content -->
        <div class="container-fluid">

            <div class="panel panel-default">           
                <div class="panel-body ">   
                    <include file="store_setting_navtabs"/>
                    <!--表单数据-->
                    <form method="post" id="handlepost" action="{:U('Store/empower')}">
                        <!--通用信息-->
                    <div class="tab-content" style="padding:20px 0px;">                 	  
                        <div class="tab-pane active" id="tab_tongyong">                           
                            <table class="table table-bordered">
                                <tbody> 
                                <tr>
                                    <td>广西账号：</td>
                                    <td colspan="2"><input type="text"   class="input-sm" name="username" value=""></td>
                                </tr>

                                <tr>
                                    <td>广西密码：</td>
                                    <td colspan="2"><input type="password"   class="input-sm" name="password" value=""></td>
                                </tr>
                                <input type="hidden" value="{:I('store_id')}" name="store_id">

                                </tbody> 
                                <tfoot>
                                	<tr>
                                	<td></td>
                                	<td class="text-left"><input class="btn btn-primary" type="button" onclick="adsubmit()" value="提交"></td>
                                	</tr>
                                </tfoot>                               
                                </table>
                        </div>                           
                    </div>              
			    	</form><!--表单数据-->
                </div>
            </div>
        </div>
    </section>
</div>

<script>

    const success = "{$success}";
    if(success == 1){
        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
        parent.layer.close(index); //再执行关闭
    }

function adsubmit(){
    layer.load();
	$('#handlepost').submit();
}

function goset(obj){
	window.location.href = $(obj).attr('data-url');
}

function callback1(img_str){
	$('input[name="store_logo"]').val(img_str);
	$('#store_logo').attr('src',img_str);
}

function callback2(img_str){
	$('input[name="store_banner"]').val(img_str);
	$('#store_banner').attr('src',img_str);
}
</script>
<!-- 坐标选取器 -->
<script src="/Public/plugins/getpoint/jquery-1.9.1.min.js"></script>
<script src="/Public/plugins/getpoint/jquery-ui-1.10.4.min.js"></script>
</body>
</html>